/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package question1.inheritance;

/**
 *
 * @author Karabz
 */
public class Student extends Person
{
    private String studentNumber;
    
    public Student(String name,String last,int ag,String studNumber)
    {
        super(name,last,ag);
        studentNumber = studNumber;
    }
    
    public String getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(String studentNumber) {
        this.studentNumber = studentNumber;
    }
    
}
